enum opcode {BEGIN, END, MOVE, ANL, ORL, XRL, SWAP, CLR, SETB, SJMP, JZ, ADD, MULT, DIV, DISP, INPT, SQRT,GET, EXP, MINUS, POWR, LOAD, LOOP, BRA, DEC};
enum registerz {A, R1, R2, R3, R4, R5, R6, R7};
enum lexeme {INTEGER, FLOAT, REGISTER, OPCODE};

//Creates a union of value type
union value {
	int i;
	float f;
	enum registerz r;
	enum opcode op;
};

//Creates a struct of token type
struct token {
	union value v;
	enum lexeme type;
	struct token *next;
	int linenum;
};

struct reg {

	union value v;
	enum lexeme type;
};
